/*
 * @Author: your name
 * @Date: 2021-10-29 15:46:55
 * @LastEditTime: 2022-05-18 10:35:59
 * @LastEditors: 夏郑兴 971348024@qq.com
 * @Description: 登录
 * @FilePath: /gitee-project/whale-admin-web/src/api/service/login.ts
 */
import request from '@/utils/system/request'

/**
 * 登录
 * pass_word*	string
 * user_name*	string
 **/
export function whaleYunLogin(data: object) {
  return request({
    url: '/admin/login',
    baseURL: '/api',
    method: 'post',
    headers: {
      'Accept-Version': '1.0.0'
    },
    data
  })
}